package com.ys.service.business;

import com.alibaba.fastjson.JSONObject;
import com.ys.entity.business.TpAmazonShop;
import com.ys.entity.business.TpAmazonShopProduct;
import com.ys.enume.RegionEnum;
import com.ys.vo.ApiResponse;
import com.ys.vo.R;

import java.util.List;
import java.util.Map;

public interface TpAmazonShopProductService {

	R add(Map<String, Object> params);

	ApiResponse getAsinAndProductInfo(JSONObject jsonObject, String nowDateStr, String updateUserId,String encryptSecret);

	ApiResponse getRank(JSONObject jsonObject, List<TpAmazonShopProduct> tpAmazonShopProductList, String nowDateStr,String encryptSecret);

	ApiResponse getAmazonShopProductInventory(JSONObject jsonObject,List<TpAmazonShopProduct> amazonShopProductList, String nowDateStr,String encryptSecret);

	ApiResponse getAmazonSalesTrafficReport(JSONObject jsonObject, String startTimeStr, String endTimeStr,String nowDateStr,List<TpAmazonShopProduct> amazonShopProductList,String encryptSecret);

	ApiResponse getAllAmazonShopProductPriceReport(JSONObject jsonObject,String startTimeStr, String endTimeStr,String nowDateStr,List<TpAmazonShopProduct> amazonShopProductList,String encryptSecret);

	R update(Map<String, Object> params,String subData) throws Exception ;

	R delete(Long id);

	//打印
	R doPrint(Long id) throws Exception;
}